<template>
   <el-config-provider :locale="locale">
     <router-view />
  </el-config-provider>
</template>

<script>
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
export default {
  data() {
    return {
      locale: zhCn,
    }
  },
  components: {
    [ElConfigProvider.name]: ElConfigProvider,
  },
}
</script>
<style lang="scss">
</style>
